﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" Inherits="Nivdal.ComposeMail" Title="" StylesheetTheme="SkinFile" Codebehind="ComposeMail.aspx.cs" %>
<%@ Register Assembly="obout_Flyout2_NET" Namespace="OboutInc.Flyout2" TagPrefix="cc1" %>

<asp:Content ID="PageNameContent" ContentPlaceHolderID="PageNamePlaceHolder" runat="server">
    <asp:Label ID="PageNameLabel" runat="server" Text="<%$ Resources:Resource, ComposeMail_PageNameLabel %>"  CssClass="PageNameContentStyle"></asp:Label>
</asp:Content>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="basic_element">
    <div class="red_title">
       <asp:Label ID="PageTitleLabel" runat="server" Text="<%$ Resources:Resource, ComposeMail_PageNameLabel %>"  CssClass="white_title"></asp:Label>
    </div>
    <div class="padding5">
        <asp:Label ID="Label1" runat="server" Text="" SkinID="SmallHeaderLabel"></asp:Label>
        <asp:HiddenField ID="IsReplyToHiddenField" runat="server" Value="0" />
        <asp:HiddenField ID="ToIdHiddenField" runat="server" />
        <br />
        <asp:Label ID="MailToLabel" runat="server" Text='<%# Resources.Resource.Global_To+ ":"%>' SkinID="InfoLabel"></asp:Label>
        <asp:Image ID="UserPicImage" runat="server" />
        <asp:Hyperlink ID="UserPageLinkButton" runat="server" SkinID="GreenTitleHyperLink"></asp:Hyperlink>
        <br />
        <asp:Label ID="TitleLabel" runat="server" Text='<%# Resources.Resource.Global_Title+ ":"%>' SkinID="SmallHeaderLabel"></asp:Label>         
        <asp:TextBox ID="SubjectTextBox" runat="server" MaxLength="128" Width="274px"></asp:TextBox>
        <asp:RequiredFieldValidator ID="MustHaveSubject" runat="server" ErrorMessage="*" ControlToValidate="SubjectTextBox" 
        ValidationGroup="Submit" SetFocusOnError="true"></asp:RequiredFieldValidator>
    
        <%--<CustomControls:TextArea runat="server" ID="ReplyTextArea" MaxLength="512"  TextMode="MultiLine"
          Rows="3" Height="150px" Width="350px" BorderStyle="None" BorderWidth="0px" ReadOnly="True" ></CustomControls:TextArea>--%>
        <br />
        <br /> 
        <asp:Label ID="MessageLabel" runat="server" Text="<%$ Resources:Resource, ComposeMail_MessageLabel %>" SkinID="SmallHeaderLabel"></asp:Label> 
        <br />
        <CustomControls:TextArea ID="NewTextArea" runat="server" MaxLength="450" TextMode="MultiLine"
         Rows="3" Height="150px" Width="350"  ></CustomControls:TextArea>
        <br />
        <asp:Label ID="PreviewLabel" runat="server" CssClass="HtmlPreview" Text=""></asp:Label>
        <br />
        <br />    
        <asp:Button ID="Button1" runat="server" Text="<%$ Resources:Resource, Global_Send %>" CssClass="GreenSmallButtonStyle"
            onclick="Button1_Click"  ValidationGroup="Submit" CausesValidation="true" />
            &nbsp;&nbsp;&nbsp;
        <asp:Button ID="Button2" onclick="Button2_Click" runat="server" Text="<%$ Resources:Resource, Global_Preview %>"  CssClass="GreySmallButtonStyle" />
        &nbsp;&nbsp;&nbsp;
        <asp:Image ID="NoSpamImage" runat="server" ImageUrl="~/Images/question.gif" />
        <cc1:Flyout ID="NoSpam" runat="server" AttachTo="NoSpamImage" NoneEffect="true">
            <div class="ToolTipStyle" style="width:200px;">
                <asp:Literal ID="NoSpamLiteral" runat="server" Text="<%$ Resources:Resource, MailMessage_NoAdvertisementPlease %>"></asp:Literal>            
            </div>
        </cc1:Flyout>
        <br />
        <br />
        <asp:Label ID="HistoryLabel" runat="server" SkinID="GridLabel" ></asp:Label>
    </div>
    </div>
      
</asp:Content>

